

export default class LogTool{


        private  static s_canLog=true;

        public static log(info:any)
        {
            if (!LogTool.s_canLog) 
                return;
            console.log(info)
        }


        public static warn(info:any)
        {
            if (!LogTool.s_canLog) 
                return;
            console.warn(info)
        }


        public static error(info:any)
        {
            if (!LogTool.s_canLog) 
                return;
            console.error(info)
        }

}